﻿using System;
using Loki.Utils;

namespace Loki.Core.Test
{
    public class LokiMockObject : LokiObject
    {
        public void ThrowTOO_001()
        {
            throw BuildError<ApplicationException>("TOO1");
        }

        public void ThrowTOO_002()
        {
            throw BuildError<ApplicationException>("TAA_00000");
        }

        public void ThrowWithUnknowErrorMessage()
        {
            throw BuildError<ApplicationException>("TEE_00000");
        }

        public void ThrowWithMessage()
        {
            throw BuildError<ApplicationException>("TEE_1");
        }
    }
}
